<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'updatePassword1.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
					<s:if test="message != null">
						<s:property value="message"/>
					</s:if>
					<s:form action="updatePassword" method="post">
					
						<table>
							<tr>
								<td>员工号</td>
								<!--<input type="text" name="userInfo.userid" readonly="readonly" value="#session.get("userInfo").getUserid" />
							--><td><input type="text" name="userInfo.userid" readonly="readonly" value="1" /></td>
							</tr>
							<tr>
								<td>密码</td>
								<td><input type="text" name="userInfo.pwd"/></td>
							</tr>
							<tr>
								<td>新密码</td>
								<td><input type="text" name="newPassword"/></td>
							</tr>
							<tr>
								<td>确认密码</td>
								<td><input type="text" name="confirmedPassword"/></td>
							</tr>
						</table>
						<div>
							<input type="submit"  value="提交">
				    		<input type="reset"  value="重置"/>
						</div>
		
					</s:form>
  </body>
</html>
